import DefaultTheme from "vitepress/theme";

// import { NaiveUIContainer } from "@vitepress-demo-preview/component";

// import Demo from "vitepress-theme-demoblock/components/Demo.vue";
import { AntDesignContainer } from "@vitepress-demo-preview/component";
import "@vitepress-demo-preview/component/dist/style.css";

import "../../../src/ArcoUni/style/index.less";
import "../../../src/ArcoUni/index.less";

import "./global.less";
import "./common.less";

export default {
  ...DefaultTheme,
  enhanceApp({ app }) {
    // app.component("DemoPreview", NaiveUIContainer);
    app.component("DemoPreview", AntDesignContainer);
    // 完成了 @vitepress-demo-preview 的配置，接下来就可以在组件文档中编写demo了。
  },
};
